package cn.b.sky.shop.storage.exception;

/**
 * @Author: lidapeng
 * @Description:
 * @Date Created in 8/18/23 10:01 AM
 * @Modified By: lidapeng
 * Copyright(c) dbappsecurity.com.cn
 */
public class StorageException extends RuntimeException {

    private String storageProvider;
    private String code;

    public StorageException(String message) {
        super(message);
    }

    public StorageException(String message, Throwable cause) {
        super(message, cause);
    }

    public StorageException(Throwable cause) {
        super(cause);
    }

    public StorageException(String storageProvider, String message, Throwable throwable) {
        super(message, throwable);
        this.storageProvider = storageProvider;
    }


    public StorageException(String storageProvider, String message) {
        super(message);
        this.storageProvider = storageProvider;
    }
    public StorageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
